From 69de465b74599830f4dcabdfa928734a1d084763 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 11 May 2001 13:06:47 +0000 Subject: [PATCH] (try_window_id): Fix the fix and set the right window_end_vpos. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 97f8c81f642..f18f5ac5a2f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11707,7 +11707,7 @@ try_window_id (w) } xassert (row != NULL); - w->window_end_vpos = make_number (vpos); + w->window_end_vpos = make_number (vpos + 1); w->window_end_pos = make_number (Z - MATRIX_ROW_END_CHARPOS (row)); w->window_end_bytepos = Z_BYTE - MATRIX_ROW_END_BYTEPOS (row); xassert (w->window_end_bytepos >= 0); -- 2.30.2